<ion-header>
  <ion-toolbar color="customblue">
    <ion-title>个人中心</ion-title>
    <ion-icon class="herder-img" slot="end" name="scan-outline" (click)="toerweima()"></ion-icon>
  </ion-toolbar>
</ion-header>
<ion-content scrollY="false">
  <div>
  <div class="mycenter-title" >
    <div class="title1" *ngIf="loginN" (click)="tomydata()">
      <img [src]="this.userInfo.headIcon" class="title1-tx" />
      <div class="title1-rz"> {{!userInfo.userName ? '未实名认证':'已实名认证'}} </div>
      <div class="title11">
        <p>{{!userInfo.userName ? '未实名': userInfo.userName }}</p>
        <img src="../../assets/image/bt_edit.png" class="title11-img" />
      </div>
      <p *ngIf="userInfo.userName">{{userInfo.gender == 1?'男':'女'}}&nbsp;|&nbsp;{{userInfo.birthday}}&nbsp;|&nbsp;{{userInfo.mobile}}</p>
    </div>
    <div class="title2" *ngIf="!loginN">
      <div class="title2-1">
        <img src="../../assets/image/img.png" class="title2-tx" />
        <button class="title2-btn" (click)="loginOut()">请先登录</button>
      </div>
    </div>
  </div>
  <div class="mycenter-img">
    <div class="mc_img">
      <img src="../../assets/image/bt_identity.png" (click)="toShiMing()" />
      <p>实名认证</p>
    </div>
    <div class="mc_img">
      <img src="../../assets/image/mc_dzcd.png" (click)="toupload()" />
      <p>电子存档</p>
    </div>
    <div class="mc_img">
      <img src="../../assets/image/mc_sjpz.png" (click)="tocertificate()" />
      <p>数据凭证</p>
    </div>
    <!-- <div class="mc_img">
      <img src="../../assets/image/mc_shdz.png" (click)="toreceive()"/>
      <p>收货地址</p>
    </div> -->
  </div>
  
  <div class="apply-bgc">
    <ion-list class="apply-col">
      <ion-item lines="none" (click)="gosuggest()" detail>
        <ion-label>投诉建议</ion-label>
      </ion-item>
      <ion-item lines="none" detail>
        <ion-label>版本更新</ion-label>
        <ion-label class="input-video" (click)='isUpdate()' >{{veision}}</ion-label>
      </ion-item >
      <ion-item detail lines="none" (click)="goaboutmy()">
        <ion-label>关于我们</ion-label>
      </ion-item>
    </ion-list>
    <ion-button expand="block" class="mycenter-btn" fill="outline" *ngIf="loginN" (click)="outLogin()">退出登录</ion-button>
  </div>
  </div>
</ion-content>
